<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test.vim</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="2html_test">
<meta name="syntax" content="vim">
<meta name="settings" content="no_progress,number_lines,ignore_folding,whole_filler,use_css,diff_one_file,pre_wrap,no_foldcolumn,expand_tabs,line_ids,ignore_conceal,prevent_copy=">
<meta name="colorscheme" content="none">
<style type="text/css">
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #ffffff; background-color: #000000; }
body { font-family: monospace; color: #ffffff; background-color: #000000; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }
-->
</style>

<script type='text/javascript'>
<!--

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  lineElem = document.getElementById(lineNum);
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

-->
</script>
</head>
<body onload='JumpToLine();'>
<pre id='vimCodeElement'>
<span id="L1" class="LineNr"> 1 </span><span class="Comment">&quot; source this file to view a test of the conceal feature</span>
<span id="L2" class="LineNr"> 2 </span><span class="Comment DiffChange">&quot; </span><span class="Comment DiffText">change</span><span class="Comment DiffChange"> the conceallevel by pressing &gt; or &lt; to see it change</span><span class="DiffChange">                </span>
<span id="L3" class="LineNr"> 3 </span>
<span id="L4" class="LineNr"> 4 </span>
<span id="L5" class="LineNr"> 5 </span><span class="Comment">&quot;{{{{{{ start 2 folds</span>
<span id="L6" class="LineNr"> 6 </span><span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealmatch</span> <span class="Constant">/conceal matched text conceal/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="L7" class="LineNr"> 7 </span>          <span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealconsec</span> <span class="Constant">/consecutive match/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span id="L8" class="LineNr"> 8 </span>          <span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealregion</span> <span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span> <span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span> <span class="Special">conceal</span> cchar=» <span class="Special">containedin=</span>all
<span id="L9" class="LineNr"> 9 </span><span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealends</span> <span class="Special">matchgroup=</span><span class="Type">conceal</span>edend <span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span> <span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span> <span class="Special">concealends</span> <span class="Special">containedin=</span>all
<span id="L10" class="LineNr">10 </span><span class="Comment">&quot;}}} end fold 1</span>
<span id="L11" class="LineNr">11 </span>
<span id="L12" class="LineNr">12 </span><span class="Statement">set</span> <span class="PreProc">conceallevel</span>=1
<span id="L13" class="LineNr">13 </span><span class="Statement">nmap</span> &gt; :set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="L14" class="LineNr">14 </span><span class="Statement">nmap</span> &lt; :set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span id="L15" class="LineNr">15 </span>
<span id="L16" class="LineNr">16 </span><span class="Statement">finish</span>
<span id="L17" class="LineNr">17 </span><span class="Comment">&quot;}}} end fold 2</span>
<span id="L18" class="LineNr">18 </span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span class="LineNr">   </span><span class="DiffDelete">-----------------------------------------------------------------------------</span>
<span id="L19" class="LineNr">19 </span>
<span id="L20" class="LineNr">20 </span><span class="Statement">------------------------------------------------------</span>
<span id="L21" class="LineNr">21 </span>
<span id="L22" class="LineNr">22 </span><span class="DiffChange">test</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffText">by</span><span class="DiffText"> </span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange"> </span><span class="DiffChange">conceal matched text conceal</span><span class="DiffChange">                       </span>
<span id="L23" class="LineNr">23 </span>test two matches in_a row: consecutive matchconsecutive _match
<span id="L24" class="LineNr">24 </span>test conceal by region: conceal--&gt; this text should _be
<span id="L25" class="LineNr">25 </span>   concealed..._on multiple lines!
<span id="L26" class="LineNr">26 </span>   &lt;--conceal
<span id="L27" class="LineNr">27 </span>test concealends: concealed end&lt;-- some text that is_not concealed --&gt;concealed end
<span id="L28" class="LineNr">28 </span>
<span id="L29" class="LineNr">29 </span> <span class="Statement">vim</span>: fdm<span class="Statement">=</span>marker
</pre>
</body>
</html>
<!-- vim: set foldmethod=manual : -->
